package com.golte.dataform.analysis.controller;

import com.golte.common.GlobalResponse;
import com.golte.common.ResponsesCodeMsg;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: sm
 * @Date: 2021/3/6
 */
@RestController
@Slf4j
@RequestMapping("/")
@Api(value = "test",description = "test")
public class TestController {


    /**
     * 环境部署检测使用 不要删
     * @return
     */

    @GetMapping("/test")
    public GlobalResponse<String> getTest() {
        log.info("环境部署检测使用");
        GlobalResponse rsp = new GlobalResponse(ResponsesCodeMsg.SUCCESS);
        rsp.setData("网络畅通");
        return rsp;
    }

 
}
